<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>跳转提示</title>
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <style type="text/css">
        *{ padding: 0; margin: 0; }
        body{ background: #fff; font-family: '微软雅黑'; color: #333; font-size: 16px; }
        .system-message{ margin: 30px auto;max-width: 400px;}
        .system-message h3{ font-size: 50px; font-weight: normal; line-height: 120px; margin-bottom: 12px;border:1px solid #ccc}
        .system-message .jump{ padding-top: 10px}
        .system-message .jump a{ color: #333;}
        .system-message .success,.system-message .error{padding: 24px; line-height: 1.8em; font-size: 18px ;text-align: center;}
        .system-message .error{color: #F93434;}
        .system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; display:none}
        .btn
        {	border: none;
            background: #8e7f3e;
            color: #ffffff;
            padding: 9px 12px 10px;
            line-height: 22px;
            text-decoration: none;
            text-shadow: none;
            -webkit-border-radius: 6px;
            border-radius: 6px;
            -webkit-box-shadow: none;
            box-shadow: none;
            -webkit-transition: 0.5s;
            transition: 0.5s;
            cursor: pointer;
        }
        .btn:hover, .btn:focus{
            background-image:none;
            background-color: #8f8f4e;
            color: #ffffff;
            outline: none;
            -webkit-transition: 0.25s
            transition: 0.25s;
            -webkit-backface-visibility: hidden;
        }
        .imgtip img{
            display:block;
            margin:0 20%;
        }
        .tipcontent{
            margin-top:-250px;
            margin-left:130px;
        }
    </style>
</head>
<body>
<div class="system-message">
    <center><p>系统提醒</p></center>
    <p class="detail"></p>
    <div class="imgtip">
        <img src="__IMG__/error.png">
        <div class="tipcontent">
            <present name="message">
                <div class="success"><span><?php echo($message); ?></span></div>
                <else/>
                <div class="error"><span style="padding-top:0px;"><?php echo($error); ?></span></div>
            </present>
        </div>
    </div>
</div>
<script type="text/javascript">
      var timer = {};
     //取消跳转
     function cancel(){
     if(!isNaN(timer.interval)){
     clearInterval(timer.interval );
     }
     }
     function start(){
     var wait = document.getElementById('wait'),href = document.getElementById('href').href;
     timer.interval = setInterval(function(){
     var time = --wait.innerHTML;
     if(time == 0) {
     location.href = href;
     cancel();
     };

     }, 1000);
     }
     (function(){
     start();
     })();
</script>
{__NORUNTIME__}
</body>
</html>